package com.ee.bruscar.generator;

public class StringUtils
{
	public static String convertClassToPath( String className )
	{
		return className.replace(".", "/" ) + ".java";
	}
	
	public static String getSimpleClassName( String className )
	{
		int index = className.lastIndexOf(".");
		return className.substring(index + 1, className.length() );
	}
	
	public static String getPackage( String className )
	{
		int index = className.lastIndexOf(".");
		return className.substring(0, index);
	}

}
